package cn.android666.audiorecorder.pcm

import cn.android666.audiorecorder.objectpool.ByteBufferPool
import java.io.Closeable
import java.nio.ByteBuffer

/** PCM处理接口 */
abstract class PCMProcessThread(val pcmByteBufferPool: ByteBufferPool) : Closeable, Thread() {

    /** 添加PCM到队列 */
    abstract fun addPcmToQueue(byteBuffer: ByteBuffer)

}